const getters = {
  // 在根级的getters上 开发子模块的属性给别人看 给别人用
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token
  // username: (state) => state.user.userInfo.data.username, // 建立用户名称的映射
  // userId: (state) => state.user.userInfo.data.userId
}
export default getters
